package cn.humaohua.study.yanmo_design_pattern.ch05.v3;

public class Singleton {
    private static class SingletonHolder {
        private static final Singleton instance = new Singleton();
    }

    public static Singleton getInstance() {
        return SingletonHolder.instance;
    }
}
